﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame4
{
    abstract class State
    {
        private String name;

        public State()
        {

        }

        abstract public void enter(AIObject aiObject);

        abstract public void execute(AIObject aiObject);

        abstract public void exit(AIObject aiObject);

        abstract public Boolean onMessage(AIObject aiObject, Message message);

        public String Name
        {
            get { return name; }
            set { name = value; }
        }
    }
}